import request from '@/utils/request'

// 查询礼物配置信息列表
export function listUserBlackList(query) {
  return request({
    url: '/system/userBlackList/list',
    method: 'get',
    params: query
  })
}

// 查询礼物配置信息详细
export function getUserBlackList(id) {
  return request({
    url: '/system/userBlackList/' + id,
    method: 'get'
  })
}

// 新增礼物配置信息
export function addUserBlackList(data) {
  return request({
    url: '/system/userBlackList',
    method: 'post',
    data: data
  })
}

// 修改礼物配置信息
export function updateUserBlackList(data) {
  return request({
    url: '/system/userBlackList',
    method: 'put',
    data: data
  })
}

// 删除礼物配置信息
export function delUserBlackList(id) {
  return request({
    url: '/system/userBlackList/' + id,
    method: 'delete'
  })
}
